home *** CD-ROM | disk | FTP | other *** search
- !Include("../UIDef/UI.def")
- //------ UI stuff -----------------------------
- Interface("UI_MAIN_MENU")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- TextureFocusAlpha(1.0)
- TextFocusAlpha(1.0)
- SelKeyUp(0)
- SelKeyDown(0)
- Text("")
- TextAlpha(1.0)
- TextColor(1.0,1.0,1.0)
- Font("MSSansSerif8")
- TextPosFlags(34)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(0)
- ParentPositioning(0)
- PreviousElemPositioning(0)
- ParentCenteringX(0)
- ParentCenteringY(0)
- ParentSizingX(0)
- ParentSizingY(0)
- TextureID("Background")
- TextureAlpha(1.0)
- LogicSize(1.0,1.0)
- LogicPos(0.0,0.0)
-
- Menu("UIMenu","ID_FRAME","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- TextureFocusAlpha(1.0)
- TextFocusAlpha(1.0)
- SelKeyUp(200)
- SelKeyDown(208)
-
- //--- MenuButton pattern for ID_FRAME :
- !Include("..\\uidef\\menubutton.def")
-
- Text("choose the place")
- TextAlpha(0.5)
- TextColor(1.0,1.0,1.0)
- Font("MenuSmall")
- FontScale(0.5)
- TextPosFlags(33)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- ParentPositioning(1)
- PreviousElemPositioning(0)
- ParentCenteringX(1)
- ParentCenteringY(1)
- ParentSizingX(0)
- ParentSizingY(0)
- FrameCornerSize(13,13)
- TextureID("ModalWindow")
- TextureAlpha(1.0)
- LogicSize(0.3575,0.425)
- LogicPos(0.32125,0.2875)
-
- MenuButton("UIMenuButtonInflateText","ID_PLACE1","Place 1","","Regular")
- {
- ForceTextLowerCase()
- Text("Place 1")
- LogicPos(0.23776224,0.21040721)
- }// [UIMenuButtonInflateText] ID_PLACE1
-
- MenuButton("UIMenuButtonInflateText","ID_PLACE2","Place 2","","Regular")
- {
- ForceTextLowerCase()
- Text("Place 2")
- LogicPos(0.0,1.1)
- }// [UIMenuButtonInflateText] ID_PLACE2
-
- MenuButton("UIMenuButtonInflateText","ID_PLACE3","Place 3","","Regular")
- {
- ForceTextLowerCase()
- Text("Place 3")
- LogicPos(0.0,1.1)
- }// [UIMenuButtonInflateText] ID_PLACE3
-
- MenuButton("UIMenuButtonInflateText","ID_PLACE4","Place 4","","Regular")
- {
- ForceTextLowerCase()
- Text("Place 4")
- LogicPos(0.0,1.1)
- }// [UIMenuButtonInflateText] ID_PLACE4
-
- MenuButton("UIMenuButtonInflateText","ID_BACK","Back","","Regular")
- {
- ForceTextLowerCase()
- Text("Back")
- LogicPos(0.0,1.8282053)
- }// [UIMenuButtonInflateText] ID_BACK
- }// [UIMenu] ID_FRAME
-
-
- EditTexture("er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(3.0)
- EditCursor("c_arrow.png")
- EditCursorSize("c_resize.png")
- EditCursorMove("c_move.png")
- Cursor("cursor.png")
- }
-